package com.cupk.service;

import com.cupk.pojo.Topic;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface TopicService {

    List<Topic> getTopicByStageId(Integer stageId);

    Integer findMaxQuestion(Integer stageId);

    void addTopic(Topic topic);

    Topic getTopicById(Integer topicId);

    void updateTopic(Topic topic);

    Topic transferChoice(Topic l);

    void deleteTopic(Integer TopicId);

    List<String> getTopicQuestion(Integer stageId);
}
